﻿@model IEnumerable<TeamCityMonitor.Models.Setting>

@{
    ViewBag.Title = "Settings";
    Layout = "Layout.cshtml";
}

<h2 class="center">Settings</h2>


<div>
    
    <table>
        <tr>
            <th>Property</th><th>Value</th><th>Default Value</th>
        </tr>

        @foreach (var item in Model) {
            <tr>
                <td>
                    @Html.DisplayFor(modelItem => item.Name)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.Value)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.DefaultValue)
                </td>
            </tr>
        }

    </table>
</div>